/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package assignment1;

import org.junit.runner.JUnitCore;
import org.junit.runner.Result;
import org.junit.runner.notification.Failure;


/**
 *
 * @author Karin West
 * Student No: 201099764 [part-time]
 */
public class TestRunner {
    public static void main(String[] args)
    {
        Result result = JUnitCore.runClasses(JUnitSuiteTest.class);
        for (Failure failure : result.getFailures())
        {
            System.out.println(failure.toString());
	}
            System.out.println(result.wasSuccessful());
    }
    
}
